from django.urls import path
from . import views

app_name = 'tools'

urlpatterns = [
    path('', views.tool_list, name='tool_list'),
    path('create/', views.tool_create, name='tool_create'),
    path('tool/<slug:slug>/', views.tool_detail, name='tool_detail'),
    path('tool/<slug:slug>/edit/', views.tool_edit, name='tool_edit'),
    path('tool/<slug:slug>/delete/', views.tool_delete, name='tool_delete'),
    path('category/<slug:slug>/', views.category_detail, name='category_detail'),
    path('click/<slug:slug>/', views.tool_click, name='tool_click'),
    path('ajax/search/', views.ajax_tool_search, name='ajax_search'),
]